package com.story.modular.app.service.impl;

import java.util.Calendar;
import java.util.Date;

/**
 * @author Pyx
 * @PACKAGE_NAME : com.story.modular.app.service.impl
 * @FileName: Test
 * @date 2020/4/26 16:10
 */
public class Test {
    public static void main(String[] args) {
        Calendar calendar = Calendar.getInstance();
        calendar.add(Calendar.DAY_OF_MONTH, 365);//time，是用户充值的月数
        Date date = calendar.getTime();
        System.out.println("会员时间date"+date);
    }
}
